You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What information was incorrect, unhelpful, or incomplete?
The Notification.badge property is incorrectly listed as supported in Safari (with an asterisk). Both macOS and iOS versions of Safari do not support the badge feature as described on the Notification: badge property page:
The badge read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar. Notification: badge property
AFAIK, this is simply not supported at the OS's that Safari runs on.
Further more, when you click the asterisk, the description/note seems to confuse icon badging (the "unread badge" that is displayed on the app icon) with the actual Notification.badge feature:
Badging is supported for web apps saved to the Dock in Safari 17 on the macOS Sonoma beta Notification: badge property
"notes": "Badging is supported for web apps saved to the Dock in Safari 17 on the macOS Sonoma beta"
},
@rejhgadellaa Would you like to open a PR with this change? 🙏
caugner
changed the title
Notificaton.badge - Incorrectly marked as supported on Safari, wrong description in asterisk/notes
api.Notificaton.badge - Incorrectly marked as supported on Safari, wrong description in asterisk/notes
May 21, 2025
caugner
added
data:api
Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
p2
High priority – Community PRs highly encouraged.
and removed
needs triage
This issue needs to be confirmed
labels
May 21, 2025
Uh oh!
There was an error while loading. Please reload this page.
What type of issue is this?
Incorrect support data
What information was incorrect, unhelpful, or incomplete?
The
Notification.badge
property is incorrectly listed as supported in Safari (with an asterisk). Both macOS and iOS versions of Safari do not support thebadge
feature as described on the Notification: badge property page:AFAIK, this is simply not supported at the OS's that Safari runs on.
Further more, when you click the asterisk, the description/note seems to confuse icon badging (the "unread badge" that is displayed on the app icon) with the actual
Notification.badge
feature:Pages affected:
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
Notification.badge
should be listed as Not Supported for Safari on macOS and iOS. The incorrect asterisk information should be removed.Did you test this? If so, how?
I tested this on Safari on several iOS Safari releases, among them 16.4 and 18.5
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Notification/badge#browser_compatibility
MDN metadata
No response
The text was updated successfully, but these errors were encountered: